home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
e
/
misc.txt
/
000204_jaltman@gmail.com_Fri Nov 20 17:06:30 2009.msg
< prev
next >
Wrap
Internet Message Format
|
2018-01-01
|
2KB
Path: reader1.panix.com!panix!bloom-beacon.mit.edu!4.24.21.218.MISMATCH!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!q14g2000vbi.googlegroups.com!not-for-mail
From: Jeffrey Altman <jaltman@gmail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How does Kermit 95 initialize \v(desktop)
Date: Tue, 27 Oct 2009 06:44:09 -0700 (PDT)
Organization: http://groups.google.com
Lines: 21
Message-ID: <7666f050-bc18-4a71-8c33-b920c13bdede@q14g2000vbi.googlegroups.com>
References: <3e027b96-6700-4194-b611-b11ab121f064@t11g2000prh.googlegroups.com>
NNTP-Posting-Host: 75.193.128.249
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1256651049 16902 127.0.0.1 (27 Oct 2009 13:44:09 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 27 Oct 2009 13:44:09 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: q14g2000vbi.googlegroups.com; posting-host=75.193.128.249;
posting-account=3XULYwoAAAB2uEZBxnJbb2G2z0fQ0m9P
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3 GTB5 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Xref: panix comp.protocols.kermit.misc:15819
On Sep 27, 11:10=A0am, Mark Sapiro <slash_dev_slash_null_2...@yahoo.com>
wrote:
> how is \v(desktop) initialized?
The value isn't initialized. It is queried each time \v(desktop) is
evaluated. The source of the value is:
HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell
Folders
"Desktop"
If the value is of type REG_EXPAND_SZ, then the result is expanded
using ExpandEnvironmentStrings().
Finally, a '/ is appended to the end of the string and all '\'
characters are converted to '/'.
Its not magic. Its C code. Look at the sources and you can see
exactly what it does.
Jeffrey Altman